<?php

namespace App\Http\Controllers\Backstage\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Cache;
use Illuminate\Http\Request;
//用户权限验证模块
class VerifytokenController extends Controller
{
    public function token(Request $request){
        $token=$request->query('token');
        //验证权限
        $verifytoken = verifyBackstageToken($token);
        if (is_array($verifytoken)) {
            return $verifytoken;
        }
    }
}